package com.hspedu.static_.main_;

public class Abstract01 {
    public static void main(String[] args) {

    }
}

abstract class Animal{
    private String name;

    public Animal(String name) {
        this.name = name;
    }

    public abstract void eat();

    public void play(){
        System.out.println("fuck");
    }
}

abstract class E{
    public abstract void hi();
    public static void play(){}
}

abstract class F extends E{
    public static void play(){}
}
